package pub.developers.forum.api.request.user;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;


@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class UserUpdateInfoRequest implements Serializable {

    //修改用户信息的参数

    private String email; //邮箱

    private String nickname; //昵称

    private String signature; // 个性签名

    private String sex ; //性别

    private String address ; //地址

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date birthday ; //生日

}
